package com.yunqi.sql.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

/**
 * @author wukq
 * @create 2021/5/13 16:33
 */
@Data
public class ColumnData {

    @ExcelProperty("序号")
    @ColumnWidth(value = 10)
    private Integer num;

    @ExcelProperty("字段名称")
    @ColumnWidth(value = 20)
    private String name;

    @ExcelProperty("长度")
    @ColumnWidth(value = 10)
    private String length;

    @ExcelProperty("是否能为空")
    @ColumnWidth(value = 10)
    private String empty;

    @ExcelProperty("默认值")
    @ColumnWidth(value = 10)
    private String defaultValue;


    @ExcelProperty("数据类型")
    @ColumnWidth(value = 15)
    private String note;


    @ExcelProperty("字段含义")
    @ColumnWidth(value = 20)
    private String comment;

}
